import path from 'path';
export default {
    imageSavePosition: 'local', // local or cdn or
    imageSavePositionLocal: {
        publicPath: path.join(__dirname, '../src/public'),
    },
    imageSavePositionCDN: {},
    db: {
        name: 'demo',
        url: process.env.NODE_ENV === 'development' ? 'mongodb://localhost:27017' : 'mongodb://localhost:27017',
        username: process.env.NODE_ENV === 'development' ? '' : '',
        password: process.env.NODE_ENV === 'development' ? '' : '',
    },
    server: {
        port: 12306,
        host: '127.0.0.1',
        protocol: 'http',
    },
};
